Re: 7.4 include file conflict

Поиск
Список
Период
Сортировка
От Ray Aspeitia
Тема Re: 7.4 include file conflict
Дата
Msg-id p06002000bc061120d5ab@[192.168.5.55]
обсуждение исходный текст
Ответ на Re: 7.4 include file conflict  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-hackers
I would like to mention that I am on MacOS 10.3 and have this issue 
when compiling PHP with both iODBC support and Postgres support at 
the same time.

I have to specify the -I/usr/include and the 
-I/usr/local/pgsql/include in order for the build scripts to run 
correctly. the problem is that at build time when building iODBC it 
may or may not look in /usr/include first depending on when the flags 
were placed.

Moving the file to ecpg/sqltypes.h should do the trick because 
anything other than postgres should not traverse into ecpg/ unless 
specifically looking for it.

Not sure if that breaks any user programs as someone else noted.

Thanks.

Ray A.


At 9:39 AM +0100 12/17/03, Michael Meskes wrote:
>On Tue, Dec 16, 2003 at 07:00:25PM -0500, Bruce Momjian wrote:
>>  Are you saying some programs will look in /usr/include before looking in
>>  -I specified directories, and that is the whole problem?  If so, that is
>>  100% wrong and we don't have to fix our files to workaround this.
>
>No I meant to say that you will alsways get our file and not the one in
>/usr/include. That means you must not specify our -I option if you need
>the file in /usr/include. Since this file may be needed together with
>pgsql The best way seems to be moving just the compat headers IMO.
>
>Michael
>--
>Michael Meskes
>Email: Michael at Fam-Meskes dot De
>ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
>Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!



В списке pgsql-hackers по дате отправления:

Предыдущее
От: shaikat
Дата:
Сообщение: Suggestions welcome for PhD topic in Distributed Database Systems (Planning to contribute to postgresql)
Следующее
От: Claudia D'amato
Дата:
Сообщение: postgres does not respond to a query view of 10000 records roughl y